import Mock from "mockjs"
Mock.mock("/api/firend",{
    code:200,
    friedList:[{
        id:0,
        titleImg:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=304579379,693800115&fm=26&gp=0.jpg",
        friendName:"不知道",
         time:"@time()",
    },{
        id:1,
        titleImg:"https://dss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=2738459514,1069454021&fm=26&gp=0.jpg",
        friendName:"有可能",
        time:"@time()",
    },{
        id:2,
        titleImg:"https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3178484349,1090351567&fm=26&gp=0.jpg",
        friendName:"差很多",
        time:"@time()",
    },{
        id:3,
        titleImg:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3341735567,1537545595&fm=26&gp=0.jpg",
        friendName:"海盗",
        time:"@time()",
    },{
        id:4,
        titleImg:"https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2744252110,3611530960&fm=26&gp=0.jpg",
        friendName:"嗯嗯",
        time:"@time()",
    }]
})
Mock.setup({
    timeout: 1000 - 2000,
  });
